home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 3.iso / screensavers / saver25.zip / SOURCE.ZIP / test.h < prev    next >
C/C++ Source or Header  |  1997-07-25  |  937b  |  64 lines

  1. #ifndef _PROBE_INC
  2. #define _PROBE_INC
  3.  
  4. #include <glide.h>
  5. #include "Vector3.h"
  6.  
  7. // uncomment this to disable MIDAS music
  8. // #define NOMUSIC
  9.  
  10. #ifndef NOMUSIC
  11. #include "midasdll.h"
  12. #endif
  13.  
  14. class Probe 
  15. {
  16. public:
  17. // constructors
  18.     Probe();
  19.     ~Probe();
  20.  
  21. // methods
  22.     void prepare();
  23.     void randomScene();
  24.     void run();
  25.  
  26. // properties
  27. public:
  28. #ifndef NOMUSIC
  29.         MIDASmodule module;
  30. #endif
  31.     FxU32 fogColor;
  32.     FxU32 framesTotal;
  33.     FxU8 blurAm;
  34.     float cameraRotate;
  35.     float cameraSpeed;
  36.     Vector3 rotSpeed;
  37.  
  38. private:
  39.     int initok;
  40.     int kala;
  41.     FxU8 fadetab[256];
  42.     DWORD timeold;
  43.  
  44.     FxI32 frames;
  45.     FxU8 *bmp;
  46.     int bmpsize;
  47.  
  48.     int objvertAm;
  49.     int objfaceAm;
  50.  
  51.     Vector3 *objfn;
  52.     Vector3 *objvn;
  53.  
  54.     GrVertex *rotvert;
  55.     GrVertex texVerts[4];
  56.  
  57.     GrMipMapId_t texMap, envMap;
  58.     GuTexPalette texPal, envPal, realPal;
  59.     GrFog_t fogtable[GR_FOG_TABLE_SIZE];
  60.     GrState defState, bgState, klunssiState;
  61.  
  62. };
  63.  
  64. #endif